<?php/** * @author PeoneEr * @package aion personal cabinet v1.0 * @copyright Aion Factory Inc. 2010-2011 * @license GNU v3 * @link Ai-Factory.ru && http://code.google.com/p/aionprivateofficev2 */require_once "core/application/models/mmoney/mmoney.php";class Cmoney extends Money_Model {    private static $_instance = NULL;    public static function getInstance() {        if (is_null(self::$_instance)) {            $class = __CLASS__;            self::$_instance = new $class();        }        return self::$_instance;    }    public function showMoney() {        /**         * баланс         */        return $this->getAccountBalance();    }    public function updateMoney($newCount) {        /**         * обновление баланса         * @param int $newCount         */        return $this->updateAccountBalance($newCount);    }}?>